package com.yixing.tech.system.service;

import com.yixing.tech.common.base.BusinessException;
import com.yixing.tech.common.base.IBaseService;
import com.yixing.tech.common.vo.s3.ApplicationVO;
import com.yixing.tech.common.vo.s3.MenuVO;
import com.yixing.tech.common.vo.s3.RoleVO;
import com.yixing.tech.common.vo.s3.UserVO;

import java.util.List;

/**
 * @author yixing tech
 * at 2021/12/31
 * describe：
 */
public interface IRoleService extends IBaseService<RoleVO,RoleVO> {

    public RoleVO queryById(String id,UserVO loginUser);

    public List<MenuVO> queryMenusByApp(String id, ApplicationVO app, UserVO loginUser) throws BusinessException;

}
